package com.example.carinformantion.utils;

import java.io.IOException;

import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;

public class CarInfomationUtil {

    public static String getCarInfomation(String token) throws IOException {

        OkHttpClient client = new OkHttpClient().newBuilder()
                .build();
        Request request = new Request.Builder()
                .url(BaseUrl.baseUrl+"/dev-api/bs-car/car/1")
                .get()
                .addHeader("Authorization", "Bearer "+token)
                .build();
        Response response = client.newCall(request).execute();

        return null;
    }
}
